import 'package:flutter/material.dart';
import 'package:get/get.dart';

import '../../../config/config.dart';
import '../../../hj_model/home/home_tabs_entity.dart';

//套图站
class PicsMainLogic extends GetxController with GetTickerProviderStateMixin {
  List<ModuleData> pics = [];
  int selectIndex = 0; //选中
  late TabController tabCtr;

  onInit() {
    super.onInit();
    pics.addAll(Config.plateModule?.picsUi ?? []);
    tabCtr = TabController(length: pics.length, vsync: this);
  }
}
